﻿function labelClick() {
    $('#fileInput').trigger('click');
}
//兼容IE低版本获取上传文件名
function getFileName(obj) {
    var filename = "";
    try {
        obj.select();
        document.getElementById("objForGetFileName").focus();
        filename = document.selection.createRange().text;
    } catch (e) { }
    finally {
        document.selection.empty();
    }
    return filename;
};